package com.jiulong.service.Impl;

import java.util.HashMap;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jiulong.dao.APIdao;
import com.jiulong.service.APIService;

@Service
public class APIServiceImpl implements APIService {
    @Autowired
    private APIdao apidao;

    public String findSthByInt(int id) {
        return apidao.findSthByInt(id);
    }

    public List getUserInfoByNameList(List listName) {
        return apidao.getUserInfoByNameList(listName);
    }

    @Override
    public void insertLocaltion(String log, String lat) {
        // TODO Auto-generated method stub
        System.out.println();

        apidao.insertLocaltion(log, lat);

    }

}
